<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }

        @keyframes rotate {
            from {
                transform: rotateZ(0deg);
            }

            to {
                transform: rotateZ(360deg);
            }
        }

        .app {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            
            margin: 250px auto;

            width: 225px;
            height: 325px;

            border: 3px solid rgb(150, 161, 27);

            overflow: hidden;
        }

        .app .rotate {
            position: absolute;
            width: 50%;
            height: 130%;

            background: linear-gradient(#00ccff,#d500f9);
            animation: rotate 2.5s linear infinite;
        }

        img {
            position: absolute;
            z-index: 999;
            width: 97%;
            height: 98%;
            transition: all 1s;
        }

        .img02 {
            width: 0px;
            height: 0px;
        }

        .app:hover {
            border: 3px solid rgb(162, 24, 172);
        }

        .app:hover .img01 {
            transform: scale(1.3);
        }

        .app:hover .img02 {
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
    <div class="app">
        <div class="rotate"></div>
        <img class="img01" src="./images/微信图片_20231014122739.jpg" alt="">
        <img class="img02" src="./images/EAA83B5D76C5C8A318443046FC414E74.jpg" alt="">
    </div>
</body>
</html>